import request from '@/utils/request'

export function TransactionSettings(params: any) {
    return request.post({ url: '/setting.transaction_settings/setTransactionSettings', params })
}
export function getTransaction() {
    return request.get({ url: '/setting.transaction_settings/getTransactionSettings' })
}
///adminapi/setting.transaction_settings/setSettlementSettings
export function SettlementSettings(params: any) {
    return request.post({ url: '/setting.transaction_settings/setSettlementSettings', params })
}
///adminapi/setting.transaction_settings/getSettlementSettings
export function getSettlement() {
    return request.get({ url: '/setting.transaction_settings/getSettlementSettings' })
}
export function setCutoff(params: any) {
    return request.post({ url: '/setting.transaction_settings/setCutoffSettings', params })
}
export function getCutoff() {
    return request.get({ url: '/setting.transaction_settings/getCutoffSettings' })
}
